package com.jhgsys.internal.hazard.service;

import com.jhgsys.internal.hazard.entity.HazardCautionaryDept;
import com.jhgsys.internal.common.entity.QueryRequest;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 警示教训部门 Service接口
 *
 * @author wanghw
 * @date 2024-08-20 09:23:14
 */
public interface IHazardCautionaryDeptService extends IService<HazardCautionaryDept> {
    /**
     * 查询（分页）
     * @author wanghw
     * @date 2024-08-20 09:23:14
     * @param request QueryRequest
     * @param hazardCautionaryDept hazardCautionaryDept
     * @return IPage<HazardCautionaryDept>
     */
    IPage<HazardCautionaryDept> findHazardCautionaryDeptPage(QueryRequest request, HazardCautionaryDept hazardCautionaryDept);

    /**
     * 查询（所有）
     * @author wanghw
     * @date 2024-08-20 09:23:14
     * @param hazardCautionaryDept hazardCautionaryDept
     * @return List<HazardCautionaryDept>
     */
    List<HazardCautionaryDept> findHazardCautionaryDeptList(HazardCautionaryDept hazardCautionaryDept);

    /**
    * 根据ID查询
    * @author wanghw
    * @date 2024-08-20 09:23:14
    * @param id
    * @return HazardCautionaryDept
    */
    HazardCautionaryDept findHazardCautionaryDeptById(String id);

    /**
     * 新增
     * @author wanghw
     * @date 2024-08-20 09:23:14
     * @param hazardCautionaryDept hazardCautionaryDept
     */
    void createHazardCautionaryDept(HazardCautionaryDept hazardCautionaryDept);

    /**
     * 修改
     * @author wanghw
     * @date 2024-08-20 09:23:14
     * @param hazardCautionaryDept hazardCautionaryDept
     */
    void updateHazardCautionaryDept(HazardCautionaryDept hazardCautionaryDept);

    /**
     * 逻辑删除
     * @author wanghw
     * @date 2024-08-20 09:23:14
     * @param hazardCautionaryDept hazardCautionaryDept
     * @param hazardCautionaryDeptIds hazardCautionaryDeptIds
     */
    void deleteHazardCautionaryDept(HazardCautionaryDept hazardCautionaryDept,String hazardCautionaryDeptIds);

    /**
    * 物理删除
    * @author wanghw
    * @date 2024-08-20 09:23:14
    * @param hazardCautionaryDeptIds hazardCautionaryDeptIds
    */
    void physicallyDeleteHazardCautionaryDept(String hazardCautionaryDeptIds);
}
